package com.diapoc.androidteacher.Demo;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;

public class Activity_Demo extends Activity {

	private Context context;
	private String tag;

	Handler handler = new Handler() {
		@Override
		public void handleMessage(Message msg) {
			super.handleMessage(msg);
		}
	};

	private void init() {
		context = this;
		tag = this.getLocalClassName();
		initLayout();
	}

	private void initLayout() {
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		Log.v(tag, "onCreate");
		super.onCreate(savedInstanceState);
		// setContentView(R.layout.activity_main);
		init();
	}

	public void onStart() {
		Log.v(tag, "onStart");
		super.onStart();
	}

	public void onResume() {
		Log.v(tag, "onResume");
		super.onResume();
	}

	public void onPause() {
		Log.v(tag, "onPause");
		super.onPause();
	}

	public void onStop() {
		Log.v(tag, "onStop");
		super.onStop();
	}

	public void onDestroy() {
		Log.v(tag, "onDestroy");
		super.onDestroy();
	}

}
